<div class="popcontent" style="font-size: 20px;background-color: white; width: 50%; z-index: 999999; overflow: hidden; position: absolute; margin: 12% 25%; color: #0579c3; border-radius: 15px 15px 15px 15px;">
    <?php if ($package) { ?>
        <table style="width: 100%">
            <?php foreach ($pdetails as $pde) { ?>
                <tr style="line-height: 46px;border-bottom: 1px solid #C3C3C3;text-align: center;">
                    <td><?= $pde->title ?>:</td> 
                    <td><?php
                        $val = $package[$pde->name];
                        if ($val == 'false')
                            echo '<span class="ico_false"></span>';
                        elseif ($val == 'true')
                            echo '<span class="ico_true"></span>';
                        else {
                            if (is_numeric($val)) {
                                if ($val == 0)
                                    echo '-';
                                else
                                    echo $val;
                            }else {
                                $val = explode('+', $val);
                                $f = true;
                                foreach ($val as $va) {
                                    if (lang('label_values_' . trim($va))) {
                                        if (!$f)
                                            echo '+';
                                        echo lang('label_values_' . trim($va));
                                    } else {
                                        if (!$f)
                                            echo '+';
                                        echo $va;
                                    }
                                    $f = false;
                                }
                            }
                        }
                        ?></td>
                </tr>

            <?php } ?>

        </table>
    <?php } ?>
</div>